package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.Attendance;
import cn.wolfcode.crm.query.AttendanceQueryObject;

import java.util.List;

public interface AttendanceMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Attendance record);

    Attendance selectByPrimaryKey(Long id);

    List<Attendance> selectAll();

    int updateByPrimaryKey(Attendance record);


    int query4Count(AttendanceQueryObject qo);

    List<?> query4List(AttendanceQueryObject qo);

    List<Attendance> selectByEmployee(Long id);


    List<Attendance> selectByEmpId(Long id);
}